<div>
  <el-row :gutter="20">
    <el-col :span="8">
      <el-input placeholder="请输入内容" v-model="searchText">
        <el-button @click='startSearch' slot="append" icon="el-icon-search"></el-button>
      </el-input>
    </el-col>
    <el-col :span="8"> <el-button>添加用戶</el-button> </el-col>
  </el-row>

  <el-table :data="tableData" style="width: 100%">
    <el-table-column prop="username" label="姓名" width="180"></el-table-column>
    <el-table-column prop="email" label="邮箱" width="180"></el-table-column>
    <el-table-column prop="mobile" label="电话"></el-table-column>
    <el-table-column prop="type" label="操作"></el-table-column>
    <el-table-column prop="type" label="编辑"></el-table-column>
  </el-table>
  <el-pagination
    @current-change="currentChange"
    background
    layout="prev, pager, next"
    :total="total"
    :page-size="2"
  >
  </el-pagination>
</div>
